class Induce extends zrender.Group{
    constructor(node,text='总结',color='#666'){
        super();
        this.node=node;
        this.induceText=text;
        this.color=color;
    }
    render(){
        this.bs1=new zrender.BezierCurve({
            style:{
                stroke:this.color
            }
        });
        this.bs2=new zrender.BezierCurve({
            style:{
                stroke:this.color
            }
        });
        this.text=new zrender.Text({
            style:{
                text:this.induceText,
                textPadding:[10,20],
                textBorderRadius:3,
                textBorderColor:this.color,
                textFill:this.color,
                textBorderWidth:1
            }
        });
        this.add(this.bs1);
        this.add(this.bs2);
        this.add(this.text);
    }
}